/**
 * 
 */
package com.williamoneil.charts.client.data;


/**
 * @author Gudipati
 *
 */
public class HorizontalGridLine {

	private double value = 0;
	
	private boolean major = false;
	
	/**
	 * @return the value
	 */
	public double getValue() {
		return value;
	}

	/**
	 * @param value the value to set
	 */
	public void setValue(double value) {
		this.value = value;
	}

	/**
	 * @return the major
	 */
	public boolean isMajor() {
		return major;
	}

	/**
	 * @param major the major to set
	 */
	public void setMajor(boolean major) {
		this.major = major;
	}
	
	public String getValueAsText() {
		return "$" + value;
	}
}
